﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AutoTest.Domain;

namespace AutoTest.Business.Options
{
    /// <summary>
    /// RabbitMQ配置
    /// </summary>
    public class RabbitMqOption : IDbOption
    {
        /// <summary>
        /// MQ账号
        /// </summary>
        [OptionDescription("token的颁发者")]
        public string Account { get; set; } = "admin";
        /// <summary>
        /// MQ密码
        /// </summary>
        [OptionDescription("MQ密码")]
        public string Pwd { get; set; } = "tang123456@";

        /// <summary>
        /// MQ地址
        /// </summary>
        [OptionDescription("MQ地址")]
        public string Host { get; set; } = "zhuao.hmxls.top";

        /// <summary>
        /// 节点目录
        /// </summary>
        [OptionDescription("节点目录")]
        public string Directory { get; set; } = "/auto-test";
        /// <inheritdoc />
        [OptionDescription("", Ignore = true)]
        public string OptionKey => AppConsts.APPSETTING_RABBITMQ;
    }
}
